<?php

namespace Seguridad\Model\Entity;

use Componentes\Model\Entity\GenericModel;

class Usuario extends GenericModel {

    protected $id;
    protected $login;
    protected $password;
    protected $_bloqueo;
    protected $_persona;

    public function __construct(array $options = null) {
        if (is_array($options)) {
            $this->setOptions($options);
        }
    }

    public function setId($idUsuario) {
        $this->id = $idUsuario;
    }

    public function getId() {
        return $this->id;
    }

    public function setLogin($login) {
        $this->login = $login;
    }

    public function getLogin() {
        return $this->login;
    }

    public function setPassword($password) {
        $this->password = $password;
    }

    public function getPassword() {
        return $this->password;
    }

    public function setBloqueo($idBloqueo) {
        $this->_bloqueo = $idBloqueo;
    }

    public function getBloqueo() {
        return $this->_bloqueo;
    }

    public function setPersona($idPersona) {
        $this->_persona = $idPersona;
    }

    public function getPersona() {
        return $this->_persona;
    }

}

?>